Method GetByUniqueAsync<TProps>(string, object?, int, CancellationToken)
The object of TProps whose [RedbUnique] property holds
value, or null. One index probe: the value is canonicalised and
hashed exactly as the save path does it, and the partial unique index answers.
A null value returns null — NULL never takes part in uniqueness.
public Task<RedbObject<TProps>?> GetByUniqueAsync<TProps>(string propertyName, object? value, int depth = 10, CancellationToken cancellationToken = default) where TProps : class, new()